package com.isoftstone.disk.user.service;

import com.isoftstone.disk.login.entity.PtUserEntity;
import com.isoftstone.disk.mybatis.flexigrid.PadingRstType;
import com.isoftstone.disk.mybatis.flexigrid.PagingBean;
import com.isoftstone.disk.mybatis.ztree.ZtreeEntity;
import com.isoftstone.disk.user.entity.SearUserEntity;

import java.util.List;

public interface UserService {

    PadingRstType<PtUserEntity> getUserInfolistByPage(SearUserEntity searUserEntity, PagingBean pagingBean);

    List<ZtreeEntity> queryroleZtreeList(String userUuid);

    void saveRefRoleIdByUserId(String roleIds, String userId);

    PtUserEntity findByUserName(String userName);

    void addUser(PtUserEntity user);
}
